package com.tj.collection.enums;

/**
 * @ClassName: SwitchStatusEnum
 * @description:
 * @author: yuwn
 * @create: 2023-11-24 14:39
 */
public enum SwitchStatusEnum {
    ON(1,"开启"),
    OFF(0,"关闭");

    private Integer code;

    private String description;

    SwitchStatusEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
